package ${serviceImplPackageName};

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import ${servicePackageName}.Facade;
<#list domainClassNameList as domainClassName>
import ${servicePackageName}.${domainClassName}Service;
</#list>

/**
 * @author Jin,QingHua
 * @version ${now?string("yyyy-MM-dd HH:mm:ss")}
 */
@Component("facade")
public class FacadeImpl implements Facade {

<#list domainClassNameList as domainClassName>

	@Resource
	${domainClassName}Service ${domainClassName?uncap_first}Service;
</#list>

<#list domainClassNameList as domainClassName>

	public ${domainClassName}Service get${domainClassName}Service() {
		return ${domainClassName?uncap_first}Service;
	}
	
	public void set${domainClassName}Service(${domainClassName}Service ${domainClassName?uncap_first}Service) {
		this.${domainClassName?uncap_first}Service = ${domainClassName?uncap_first}Service;
	}
</#list>
}
